package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.domain.Directory;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface DirectoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Directory record);

    Directory selectByPrimaryKey(Long id);

    List<Directory> selectAll();

    int updateByPrimaryKey(Directory record);
    int query4Count(QueryObject qo);

    List<Directory> query4List(QueryObject qo);
}